﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace BitcoinCommon
{
    public class StringURL
    {
        //코빗 URL들
        public const string URL_KORBIT_VERSION = "/v1/version";
        public const string URL_KORBIT_ACCESS_TOKEN = "/v1/oauth2/access_token";
        public const string URL_KORBIT_USER_INFO = "/v1/user/info";

        public const string URL_KORBIT_LAST_CONTRACT = "/v1/ticker/detailed ";
        public const string URL_KORBIT_ORDER_BOOKS = "/v1/orderbook?group=true";
        public const string URL_KORBIT_TRANSACTION_CONTRACT = "/v1/transactions";

        public const string URL_KORBIT_ORDER_BUY = "/v1/user/orders/buy";
        public const string URL_KORBIT_ORDER_SELL = "/v1/user/orders/sell";
        public const string URL_KORBIT_ORDER_CANCEL = "/v1/user/orders/cancel";
        public const string URL_KORBIT_ORDER_OPEN = "/v1/user/orders/open";
        public const string URL_KORBIT_TRANSACTION = "/v1/user/transactions";

        public const string URL_KORBIT_WALLET = "/v1/user/wallet";
        public const string URL_KORBIT_WALLET_WITHDRAW = "/v1/user/coins/out";

        //BTC URL 들
         //https://btc-e.com/api/3/<method name>/<pair listing>

        public const string URL_BTCE_USER_INFO = "/v1/user/info";

        public const string URL_BTCE_LAST_CONTRACT = "/api/3/ticker/btc_usd";
        public const string URL_BTCE_ORDER_BOOKS = "/api/3/depth/btc_usd";
        public const string URL_BTCE_TRANSACTION_CONTRACT = "/api/3/trades/btc_usds";

        public const string URL_BTCE_ORDER_BUY = "/tapi";
        public const string URL_BTCE_ORDER_SELL = "/tapi";
        public const string URL_BTCE_ORDER_CANCEL = "/tapi";
        public const string URL_BTCE_ORDER_OPEN = "/tapi";
        public const string URL_BTCE_TRANSACTION = "/tapi";

        public const string URL_BTCE_WALLET = "/tapi";
        public const string URL_BTCE_WALLET_WITHDRAW = "";

        //BITSTAMP
        public const string URL_BITSTAMP_LAST_CONTRACT = "https://www.bitstamp.net/api/ticker/";
    }
}
